import card from './components/card'
import marquee from './components/marquee'
import piece from './components/piece'
import Count from './components/count'
import iconSvg from './components/icon-svg'
import label from './components/label'
import swiper from './components/swiper'
import keyPerson from './components/key-person'
import yoy from './components/yoy'
import  selectServices from './components/select-services'
import  water from './components/water'
import  news from  './components/news'
import  newList from  './components/new-list'
import  services from  './components/services'
import  businessNews from  './components/business-news'
import  doList from  './components/do-list'
import  processInformation from './components/process-information'
import  input from  './components/input'
import  locationList from  './components/location-list'
import  listTags from  './components/list-tags'
import  {listMenus,listMenuTwo} from  './components/list-menus'
import  listSelect from  './components/list-select'
import  listSelectItem from  './components/list-select-item'
import  listBlock from  './components/list-block'
import  tab from  './components/tab'
import  listServices from  './components/list-services'
import  listOa from  './components/list-oa'
import  listAssets from  './components/list-assets'
import  listOaImg from  './components/list-oa-img'
import  textarea from  './components/textarea'
import  timeAxis from  './components/time-axis'
import  listSelectType from  './components/list-select-type'
import listRequest from './components/list-request'
import listApplicationDetails from './components/list-application-details'
import linkUrl from './components/link-url'
import  reportInformation from  './components/report-information'
import Timeline from './components/timeline/index.js';
import TimelineItem from './components/timeline-item/index.js';
import Switch from './components/switch';
import Toast from './components/toast';
import  rate from './components/rate'
import {
    chartWordCloud,chartRose,chartRadar,chartPie,
    chartBarOne,chartBarTwo,chartBarThree,chartBarFour,chartBarFive,chartBarSix,chartBarSeven,chartBarNine,chartBarTen,chartPercentage,
    chartLineOne,chartLineTwo,chartLineThree,chartLineFour,
    chartBarLineOne,chartBarLineTwo,chartBarLineThree,chartBarLineFour,chartPieTwo,chartBarEight
} from './components/echarts'

import { informationCard,dealInformation} from './components/information'

if (typeof window !== 'undefined' && window.Vue) {
  window.Vue.use(install)
}

function install(Vue) {
    Vue.component(card.name, card)
    Vue.component(marquee.name, marquee)
    Vue.component(piece.name, piece)
    Vue.component(Count.name, Count)
    Vue.component(iconSvg.name, iconSvg)
    Vue.component(label.name, label)
    Vue.component(swiper.name, swiper)
    Vue.component(keyPerson.name, keyPerson)
    Vue.component(yoy.name, yoy)
    Vue.component(selectServices.name, selectServices)
    Vue.component(services.name, services)
    Vue.component(news.name, news)
    Vue.component(businessNews.name, businessNews)
    Vue.component(doList.name, doList)
    Vue.component(processInformation.name,processInformation)
    Vue.component(chartWordCloud.name, chartWordCloud)
    Vue.component(chartRose.name, chartRose)
    Vue.component(chartRadar.name, chartRadar)
    Vue.component(chartPie.name, chartPie)
    Vue.component(chartBarOne.name,chartBarOne)
    Vue.component(chartLineOne.name,chartLineOne)
    Vue.component(chartLineTwo.name, chartLineTwo)
    Vue.component(chartLineThree.name, chartLineThree)
    Vue.component(chartLineFour.name, chartLineFour)
    Vue.component(chartBarTwo.name,chartBarTwo)
    Vue.component(chartBarThree.name,chartBarThree)
    Vue.component(chartBarFour.name,chartBarFour)
    Vue.component(chartBarFive.name,chartBarFive)
    Vue.component(chartBarSix.name,chartBarSix)
    Vue.component(chartBarSeven.name,chartBarSeven)
    Vue.component(chartBarNine.name,chartBarNine)
    Vue.component(chartBarTen.name,chartBarTen)

    Vue.component(chartBarEight.name,chartBarEight)
    Vue.component(chartBarLineOne.name,chartBarLineOne)
    Vue.component(chartBarLineTwo.name,chartBarLineTwo)
    Vue.component(chartBarLineThree.name,chartBarLineThree)
    Vue.component(chartBarLineFour.name,chartBarLineFour)
    Vue.component(chartPercentage.name,chartPercentage)
	Vue.component(input.name, input)
	Vue.component(locationList.name, locationList )
	Vue.component(listTags.name, listTags)
	Vue.component(listMenus.name, listMenus)
	Vue.component(listSelect.name, listSelect)
	Vue.component(listBlock.name, listBlock)
	Vue.component(tab.name, tab)
	Vue.component(listServices.name, listServices)
	Vue.component(listOa.name, listOa)
	Vue.component(listOaImg.name, listOaImg)
	Vue.component(listAssets.name, listAssets)
	Vue.component(textarea.name, textarea)
	Vue.component(listRequest.name, listRequest)
	Vue.component(informationCard.name, informationCard)
	Vue.component(dealInformation.name, dealInformation)
	Vue.component(listApplicationDetails.name, listApplicationDetails)
	Vue.component(textarea.name, textarea)
	Vue.component(listRequest.name, listRequest)
	Vue.component(listSelectType.name, listSelectType)
	Vue.component(textarea.name, textarea)
	Vue.component(timeAxis.name, timeAxis)
	Vue.component(reportInformation.name, reportInformation)
	Vue.component(listRequest.name, listRequest)
	Vue.component(informationCard.name, informationCard)
	Vue.component(dealInformation.name, dealInformation)
	Vue.component(linkUrl.name, linkUrl)
	Vue.component(Timeline.name, Timeline)
	Vue.component(TimelineItem.name, TimelineItem)
	Vue.component(Switch.name, Switch)
    Vue.component(rate.name, rate)
    Vue.$toast = Vue.prototype.$toast = Toast
    Vue.component(chartPieTwo.name, chartPieTwo)
    Vue.component(listMenuTwo.name, listMenuTwo)
    Vue.component(listSelectItem.name, listSelectItem)
    Vue.component(newList.name, newList)
    Vue.component(water.name, water)

}

export default {
  install,
  card,
  marquee,
  piece,
  Count,
  iconSvg,
  label,
  swiper,
  keyPerson,
  yoy,
  selectServices,
  news,
  newList,
  services,
  businessNews,
  doList,
  chartWordCloud,chartRose,chartRadar,
  input,
  locationList,
  chartBarOne,
  chartLineOne, chartBarTwo,chartBarThree,chartBarFour,chartBarFive,chartBarSix,chartBarSeven,chartBarNine,chartPercentage,chartBarEight,
  listBlock,
  processInformation,
  tab,
  listServices,
  listOa,
  listAssets,
  textarea,
  listRequest,
  listApplicationDetails,
  timeAxis,
  reportInformation,
  informationCard,
  dealInformation,
  linkUrl,
  Timeline,
  TimelineItem,
  Switch,
  Toast,
  rate,
  chartPieTwo,
  listMenuTwo,
  listSelectItem,
  water
}
